home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / c / AmiVoGL_MDEV.lha / src / yobbarays.c < prev    next >
C/C++ Source or Header  |  1994-04-12  |  525b  |  35 lines

  1.  
  2.  
  3. struct    YOBBA{
  4.     union {
  5.         struct {
  6.             unsigned alpha : 1;
  7.             unsigned beta  : 2;
  8.             unsigned fixe  : 3;
  9.             unsigned kralb  : 1;
  10.             }
  11.         vals;
  12.         struct {
  13.             unsigned char yobbav;
  14.             }
  15.         yobbavals;
  16.         }
  17.     yobba;
  18.     } *yobbaray;
  19.  
  20. /*
  21.  * yobbarays
  22.  *
  23.  *    Turns on (or off) yobba rays, as described by Larry Dart's friend.
  24.  *
  25.  *    onoff <> 0 - YOBBARAYS ON.
  26.  *    onoff =  0 - YOBBARAYS OFF.
  27.  */
  28. void yobbarays(int onoff)
  29. {
  30. yobbaray = (struct YOBBA *)onoff;
  31. }
  32.  
  33. /* ------------------------------------------------------------------------ */
  34.  
  35.